package config

import (
	"github.com/zeromicro/go-zero/core/stores/cache"
	"github.com/zeromicro/go-zero/core/stores/redis"
	"github.com/zeromicro/go-zero/rest"
)

type Config struct {
	Release bool
	rest.RestConf
	JwtAuth struct {
		AccessSecret string
		AccessExpire int64
	}

	Redis redis.RedisConf

	DB struct {
		DataSource string
	}
	Cache cache.CacheConf

	DESKey string
}
